<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2017/10/17 0017
  Time: 上午 10:42
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>登录</title>
    <%--<link rel="stylesheet" href="/static/js/plugins/layui/css/layui.css">--%>
    <link rel="stylesheet" href="/static/css/common.css">
    <link rel="stylesheet" href="/static/css/login.css">

</head>
<body>
<form action="/login" id="login_form" method="post">
    <div class="login">
        <div class="title">
            学员管理系统—登录
        </div>
        <div class="user">
            <div class="login_img" >
                <div class="login_img1" ></div>
            </div>
            <input type="text" name="userName" autocomplete="off" placeholder="用户名" >
            <div class="clear_img hidden"></div>
        </div>
        <div class="user">
            <div class="login_img">
                <div class="login_img2 "></div>
            </div>
            <input type="password" name="password" placeholder="密码" >
            <div class="clear_img hidden"></div>
        </div>
        <div  class="user">
            <div class="code">
                <input type="text" name="yzm" class="yzm"  placeholder="请输入验证码" autocomplete="off" >
                <div class="clear_img1 hidden"></div>
                <img src="/kaptcha.jpg"  alt="验证码" id="code">
            </div>
        </div>

        <!--表单验证提示-->
            <div class="info <c:if test="${errMes ==null}">hidden</c:if> ">
                <div class="info_img">
                    <div class="info_img1"></div>
                </div>
                <div id="msg" class="info_msg"> ${errMes}</div>
            </div>
            <!--登录和注册-->
            <div class="dl">
                <button type="submit" id="login_dl" >登录</button>
            </div>

            <div class="zc">
                <a href="javascript:void(0)">忘记密码？</a>|
                <a href="/regist"> 学员注册</a>
            </div>
        </div>
    </div>
</form>
<%--<div class="box-padding15">
    <form  method="post"class="layui-form">
        <div class="layui-form-item">
            <label class="layui-form-label">用户名</label>
            <div class="layui-input-block">
                <input type="text" name="userName"  value="admin" lay-verify="required" placeholder="请输入用户名" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">密码</label>
            <div class="layui-input-block">
                <input type="password" name="password" value="admin123" lay-verify="required" placeholder="请输密码" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">验证码</label>
            <div class="layui-input-inline">
                <input type="text" name="yzm" required lay-verify="required" placeholder="请输入验证码" autocomplete="off" class="layui-input">
            </div>
            <div class="layui-form-mid layui-word-aux ">
                <img src="/kaptcha.jpg" alt="验证码" id="code" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <div class="layui-input-block">
                <button class="layui-btn" lay-submit lay-filter="formSubmit">登录</button>
            </div>
        </div>
    </form>
</div>--%>

<script src="/static/js/plugins/jquery.js"></script>
<%--<script src="/static/js/plugins/layui/layui.js"></script>--%>
<script type="text/javascript" src="/static/js/login.js"></script>
</body>
</html>
